package com.karson.common.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.Objects;

/**
 * @author ZKS
 */
@Data
@NoArgsConstructor
@ToString
public class HotWorkVo implements Serializable {

    private static final long serialVersionUID = 1L;

    Double hot;

    Integer albumId;


    public HotWorkVo(Double hot,Integer albumId){
        this.hot = hot;
        this.albumId = albumId;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        HotWorkVo hotVideo = (HotWorkVo) o;
        return Objects.equals(albumId, hotVideo.albumId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(albumId);
    }
}
